import request from '@/utils/request'

export function add(parameter) {
  return request({
    url: '/pc/aibaoInsuranceIndemnify/add',
    method: 'post',
    data: parameter
  })
}
export function listByPage(parameter) {
  return request({
    url: '/pc/aibaoInsuranceIndemnify/listByPage',
    method: 'post',
    data: parameter
  })
}

export function update(parameter) {
  return request({
    url: '/pc/aibaoInsuranceIndemnify/update',
    method: 'put',
    data: parameter
  })
}

export function deleteIndemnify(parameter) {
  return request({
    url: '/pc/aibaoInsuranceIndemnify/delete',
    method: 'delete',
    data: parameter
  })
}


export function listProductIndemnifyForSelect(parameter) {
  return request({
    url: 'h5/anno/common/listProductIndemnifyForSelect',
    method: 'get',
    params: parameter
  })
}